package org.framework.common.ext.util;

import org.jboss.logging.Logger;

public final class DebugUtil {

	public static long start = 0;
	
	public static void ready(){
		start = System.currentTimeMillis();
	}
	
	public static void debug(final Class<?> cls, String message){
		Logger log = Logger.getLogger(cls);
		message += ":["+(System.currentTimeMillis()-start)/1000+"]秒";
		System.out.println(message);
		log.debug(message);
	}
}
